package com.quanyan.stadium.enums;

import com.quanyan.stadium.constants.GameConstants;

/**
 * Created with IntelliJ IDEA.
 * Date: 2016/6/23 0023
 * Time: 10:28
 */

public enum StadiumMsgEnum implements BaseEnum {

    // id  name  dec  url
    STADIUM_TAG_ROUND_RECORD(1, GameConstants.STADIUM_TAG_ROUND_RECORD, "官方赛事结束,初始化积分完毕,栏目积分计算", "gameScheduleCategoryScoreRecord"),
    STADIUM_TAG_SCORE_GRADE(2, GameConstants.STADIUM_TAG_SCORE_GRADE, "评级积分计算", "gameScheduleScoreRecord"),
    STADIUM_TAG_USER_SCHEDULE_INIT_SCHEDULE(3, GameConstants.STADIUM_TAG_USER_SCHEDULE_INIT_SCHEDULE, "个人赛程初始化", "userGameScheduleInit"),
    STADIUM_TAG_USER_SCHEDULE_UPDATE_SCHEDULE(4, GameConstants.STADIUM_TAG_USER_SCHEDULE_UPDATE_SCHEDULE, "个人赛程更新", "userGameScheduleUpdate"),
    STADIUM_TAG_USER_SCHEDULE_FINALLY_SCHEDULE(5, GameConstants.STADIUM_TAG_USER_SCHEDULE_FINALLY_SCHEDULE, "个人赛程完结", "userGameScheduleFinally"),
    STADIUM_TAG_GAME_EVENT_FINISH_INIT_GAME_SCORE(6, GameConstants.STADIUM_TAG_GAME_EVENT_FINISH_INIT_GAME_SCORE, "赛事结束开始执行一系列操作", "userGameEventCollect"),
    STADIUM_TAG_USER_PK_GAME_COLLECT(7, GameConstants.STADIUM_TAG_USER_PK_GAME_COLLECT, "PK赛事", "userPKGameEventCollect"),
    STADIUM_TAG_GAME_RADAR_CHART(8, GameConstants.STADIUM_TAG_GAME_RADAR_CHART, "赛事雷达图", "updateGameRadarChartBatch"),
    STADIUM_TAG_GAME_SCHEDULE_END_PUSH_MSG(9, GameConstants.STADIUM_TAG_GAME_SCHEDULE_END_PUSH_MSG, "赛程结束推送", "generateCurrentRoundPushMsgAndMQ"),
    STADIUM_TAG_GAME_EVENT_FINISH_PUSH_MSG(10, GameConstants.STADIUM_TAG_GAME_EVENT_FINISH_PUSH_MSG, "官方赛事结束,初始化积分完毕,开始计算推送相关信息", "officialGameEventPushMsg"),
    STADIUM_TAG_GAME_EVENT_FINISH_MSG_COLLECT(11, GameConstants.STADIUM_TAG_GAME_EVENT_FINISH_MSG_COLLECT, "官方赛事结束,初始化积分完毕,开始进行数据汇总", "officialGameEventCollectMsg"),
    STADIUM_TAG_GAME_EVENT_FINISH_JOIN_INTO_MONTH(12, GameConstants.STADIUM_TAG_GAME_EVENT_FINISH_JOIN_INTO_MONTH, "官方赛事结束,初始化积分完毕,积分累加", "officialGameEventTeamJoinUpdate");


    private int id;

    private String code;

    private String name;

    private String label;

    StadiumMsgEnum(int id, String code, String name, String label) {
        this.id = id;
        this.code = code;
        this.name = name;
        this.label = label;
    }

    @Override
    public int getId() {
        return id;
    }

    @Override
    public String getCode() {
        return code;
    }

    @Override
    public String getName() {
        return name;
    }

    @Override
    public String getLabel() {
        return label;
    }
}
